// import './index.css'
import Types from 'prop-types'

import styles from './index.module.scss'
// import Icon from './index.module.scss'
import Icon from '../Icon'

const NavBar = ({ onClick }) => {
  return (
    <div className={styles.root}>
      <div className={styles.root}>
        <span onClick={onClick}>
          <Icon type="iconfanhui" />
        </span>
      </div>
    </div>
  )
}

NavBar.propTypes = {
  onClick: Types.func,
}

export default NavBar
